//
//  BMPhotoIOAuthTool.h
//  bigmama
//
//  Created by huyuchen on 2017/9/28.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Photos/Photos.h>

@interface BMPhotoIOAuthTool : NSObject

/** 请求相片授权 */
+ (void)requestAuthForPhotoWithAuthedStatus:(void(^)(PHAuthorizationStatus status))authedBlock denied:(void(^)(PHAuthorizationStatus status))deniedBlock;

/** 检查相片授权 */
+ (void)checkAuthForPhotoWithAuthedStatus:(void(^)(PHAuthorizationStatus status))authedBlock denied:(void(^)(PHAuthorizationStatus status))deniedBlock noRequest:(void(^)(PHAuthorizationStatus status))noRequestBlock;

+ (BOOL)checkCameraAuth;

@end
